class AddFieldsToOrders < ActiveRecord::Migration
  def self.up
  	add_column :orders, :sum_all, :float
  	add_column :orders, :posada, :string
  	add_column :orders, :work, :string
  	add_column :orders, :bank, :text
  	add_column :orders, :forma, :string
  end

  def self.down
  	remove_column :orders, :sum_all
  	remove_column :orders, :posada
  	remove_column :orders, :work
  	remove_column :orders, :bank
  	remove_column :orders, :forma
  end
end
